var globalStaticName = '干嘛啊你'
class Person {
    noThisName2
    constructor(name, sex) {
        this.name = name
        this.sex = sex
        this.fakeName = '憨批'
        this.noThisName2 = '你妈biss'
        
    }
    getFakeName() {
        return this.fakeName
    }
    static getThisName() {
        return '22222222'
    }
    static noThisName = '大傻逼'
    getGlobalStaticName() {
        return globalStaticName
    }
}

function Car(name, sex) {
    this.name = name
    this.sex = sex
    this.getThisName = function() {
        return '你说谁傻逼'
    }

}
Car.prototype = {
    getCarName() {
        return globalStaticName
    }
}
// 这种方式去定义静态方法?
Car.getStaticName = function() {
    return 'wq'
}
Car.StaticName = '你爹'
// 为什么这种方式不行
// Car = {
//     getStaticName() {
//         return 'wq'
//     }
// }
module.exports = Car